package abstractfactory.creator;

import abstractfactory.creator.abstractorinterface.PizzaIngredientFactory;
import abstractfactory.product.FreshCheese;
import abstractfactory.product.SpicySauce;
import abstractfactory.product.abstracts.Sauce;
import abstractfactory.product.abstracts.Cheese;

/**
 * @ClassName: CNPizzaIngredientFactory
 * @Description: 中国披萨原料（工厂方法）
 * @Date: 2021/1/13 11:58
 * @Author: Song JinGen
 */
public class CNPizzaIngredientFactory implements PizzaIngredientFactory {
    public Cheese createCheese() {
        return new FreshCheese();
    }

    public Sauce createSauce() {
        return new SpicySauce();
    }
}
